package com.fengniu.ejb.business;

import java.util.List;
import java.util.Map;

import com.fengniu.ejb.entity.Category2Category;

public interface ICategoryBusiness {

	/**
	 * get list of brand category for category identified by categoryId
	 * 
	 * @param categoryId
	 * @return List of Category2Category
	 */
	public List<Category2Category> getListCategoryRelatedBrand(String categoryId);

	/**
	 * 
	 * @param contentCategoryId
	 * @param contentBrandCategoryId
	 * @param pgno
	 * @param pgsize
	 * @return Map contains Category:contentCategory,
	 *         List:childContentCategoryList, List:primaryContentCategoryTrail,
	 *         Category:brandCategory, List:content2CategoryList,
	 *         Long:totalCount
	 */
	public Map<String, Object> getCategoryProducts(String contentCategoryId, String contentBrandCategoryId, int pgno,
			int pgsize);

	/**
	 * 
	 * @param storeCategoryId
	 * @param storeBizCategoryId
	 * @param pgno
	 * @param pgsize
	 * @return Map contains Category:siteCategory, List:childSiteCategoryList,
	 *         List:primarySiteCategoryTrail, Category:businessCategory,
	 *         List:site2CategoryList, Long:totalCount
	 */
	public Map<String, Object> getCategoryStores(String storeCategoryId, String storeBizCategoryId, int pgno, int pgsize);

	/**
	 * 
	 * @param hordeCategoryId
	 * @param hordeBizCategoryId
	 * @param pgno
	 * @param pgsize
	 * @return Map contains Category:siteCategory, List:childSiteCategoryList,
	 *         List:primarySiteCategoryTrail, Category:businessCategory,
	 *         List:site2CategoryList, Long:totalCount
	 */
	public Map<String, Object> getCategoryHordes(String hordeCategoryId, String hordeBizCategoryId, int pgno, int pgsize);

	/**
	 * 
	 * @param webSiteCategoryId
	 * @param webSiteBizCategoryId
	 * @param pgno
	 * @param pgsize
	 * @return Map contains Category:siteCategory, List:childSiteCategoryList,
	 *         List:primarySiteCategoryTrail, Category:businessCategory,
	 *         List:site2CategoryList, Long:totalCount
	 */
	public Map<String, Object> getCategoryWebSites(String webSiteCategoryId, String webSiteBizCategoryId, int pgno,
			int pgsize);
}
